package model;

/**
 * Especifica as palavras reservadas.
 * 
 * @author Alen e Jody
 * 
 */
public enum Reserved {
    VARIABLES, METHODS, CONSTANTS, CLASS, RETURN, NULL, MAIN, IF, THEN, ELSE, WHILE, FOR, READ, PRINT, INT, FLOAT, BOOL, CHAR, STRING, TRUE, FALSE, EXTENDS;

    @Override
    public String toString() {
	if (this == Reserved.VARIABLES)
	    return "variaveis";
	else if (this == Reserved.METHODS)
	    return "metodos";
	else if (this == Reserved.CONSTANTS)
	    return "constantes";
	else if (this == Reserved.CLASS)
	    return "classe";
	else if (this == Reserved.RETURN)
	    return "retorno";
	else if (this == Reserved.NULL)
	    return "vazio";
	else if (this == Reserved.MAIN)
	    return "principal";
	else if (this == Reserved.IF)
	    return "se";
	else if (this == Reserved.THEN)
	    return "entao";
	else if (this == Reserved.ELSE)
	    return "senao";
	else if (this == Reserved.WHILE)
	    return "enquanto";
	else if (this == Reserved.FOR)
	    return "para";
	else if (this == Reserved.READ)
	    return "leia";
	else if (this == Reserved.PRINT)
	    return "escreva";
	else if (this == Reserved.INT)
	    return "inteiro";
	else if (this == Reserved.FLOAT)
	    return "real";
	else if (this == Reserved.BOOL)
	    return "logico";
	else if (this == Reserved.CHAR)
	    return "caractere";
	else if (this == Reserved.STRING)
	    return "cadeia";
	else if (this == Reserved.TRUE)
	    return "verdadeiro";
	else if (this == Reserved.FALSE)
	    return "falso";
	else if (this == Reserved.EXTENDS)
	    return "herda_de";
	else
	    return super.toString();
    }
}